package com.huilian.iotbox.client.dao;

import com.huilian.iotbox.data.dto.AgencyDto;
import com.huilian.iotbox.data.po.Agency;
import com.huilian.iotbox.data.vo.AgencyVo;
import com.huilian.iotbox.data.vo.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

@Mapper
public interface AgencyDao {

    Agency findOneAgencyById(@Param("id") Integer id);

    AgencyDto getAgencyDtoById(@Param("id") Integer id);

    AgencyDto getDeviceAgencyByDeviceNoAndChannelType(String deviceNo);
}
